package com.ym.medical.service;

import com.ym.core.utils.tkmybatis.IBaseSV;
import com.ym.medical.domain.entity.OpenStudioAppEntity;
import com.ym.medical.domain.param.OpenStudioAppQueryParam;
import com.ym.medical.domain.vo.OpenStudioAppVo;

import java.util.List;

/**
 * 工作室开通申请Service接口
 *
 * @author ym
 * @date 2020-08-24
 */
public interface IOpenStudioAppSV extends IBaseSV<OpenStudioAppEntity> {

	/**
	 * 开通工作室的申请
	 *
	 * @param openStudioApp
	 * @param loginId
	 */
	void saveStudioApp(OpenStudioAppEntity openStudioApp, Long loginId);

	/**
	 * 审核开通工作室的申请
	 *
	 * @param ids
	 * @param state
	 * @param remark
	 */
	void applicationReviewAudit(Long[] ids, Long auditPerson, String state, String remark);

	/**
	 * 工作室审核列表
	 *
	 * @param queryParam
	 * @return
	 */
	List<OpenStudioAppVo> applicationReviewList(OpenStudioAppQueryParam queryParam);
}
